package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.SysCheck;
import com.ruoyi.system.mapper.SysCheckMapper;
import com.ruoyi.system.service.ISysCheckService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysCheckServiceImpl implements ISysCheckService {
    @Autowired
    private SysCheckMapper sysCheckMapper;
    @Override
    public List<SysCheck> selectCheckList(SysCheck check) {
        return sysCheckMapper.selectCheckList(check);
    }

    @Override
    public int insertCheck(SysCheck check) {
        return sysCheckMapper.insertCheck(check);
    }

    @Override
    public int updateCheck(SysCheck check) {
        return sysCheckMapper.updateCheck(check);
    }

    @Override
    public SysCheck selectCheckById(Long checkId) {
        return sysCheckMapper.selectCheckById(checkId);
    }

    @Override
    public int deleteCheckByIds(Long[] checkIds) {
        return sysCheckMapper.deleteCheckByIds(checkIds);
    }
}
